package com.service;

import com.entity.RbacManager;
import com.entity.ResponseEntity;

public interface RbacManagerService {
    ResponseEntity<RbacManager> addOne(RbacManager rbacManager);

    ResponseEntity<RbacManager> deleteOne(int id);

    ResponseEntity<RbacManager> updateOne(RbacManager rbacManager);

    ResponseEntity<RbacManager> findByOne(int id);

    ResponseEntity<RbacManager> findAll(int currentPage, int pageSize);

    ResponseEntity<RbacManager> findAll();
    RbacManager login(String username,String password);
    RbacManager findOne(String username);

    ResponseEntity<RbacManager> search(String account, String status);
}
